HADOOP-19203. WrappedIO BulkDelete API to raise IOEs as UncheckedIOExceptions#6885
Merged
steveloughran merged 2 commits intoapache:trunkfrom Jun 19, 2024
Conversation
…ceptions -WrappedIO methods raise UncheckIOEs -new class org.apache.hadoop.util.functional.FunctionalIO with wrap/unwrap and the ability to generate a java.util.function.Supplier around a CallableRaisingIOE. -Tests Change-Id: Icad3bfa30bd5226a5fb6534227e9e56e4b37d536
|
🎊 +1 overall
This message was automatically generated. |
Change-Id: Ica826512b0efc4da0edd45de031116508198a5b2
|
🎊 +1 overall
This message was automatically generated. |
Contributor
Author
|
checkstyle is complaining about the _ in the method names. @mukund-thakur this should be good for review. |
4 tasks
mukund-thakur
approved these changes
Jun 17, 2024
| * propagated unchanged. | ||
| * @param <T> type of result | ||
| */ | ||
| private static final class UncheckedIOExceptionSupplier<T> implements Supplier<T> { |
Contributor
There was a problem hiding this comment.
I don't see any use of this so for though. Assuming it will be used later?
Contributor
Author
There was a problem hiding this comment.
rest of wrapped IO. and actually just done something identical in #6892
steveloughran
added a commit
that referenced
this pull request
Jun 20, 2024
…ceptions (#6885) * WrappedIO methods raise UncheckedIOExceptions *New class org.apache.hadoop.util.functional.FunctionalIO with wrap/unwrap and the ability to generate a java.util.function.Supplier around a CallableRaisingIOE. Contributed by Steve Loughran
KeeProMise
pushed a commit
to KeeProMise/hadoop
that referenced
this pull request
Sep 9, 2024
…ceptions (apache#6885) * WrappedIO methods raise UncheckedIOExceptions *New class org.apache.hadoop.util.functional.FunctionalIO with wrap/unwrap and the ability to generate a java.util.function.Supplier around a CallableRaisingIOE. Contributed by Steve Loughran
Hexiaoqiao
pushed a commit
to Hexiaoqiao/hadoop
that referenced
this pull request
Sep 12, 2024
…ceptions (apache#6885) * WrappedIO methods raise UncheckedIOExceptions *New class org.apache.hadoop.util.functional.FunctionalIO with wrap/unwrap and the ability to generate a java.util.function.Supplier around a CallableRaisingIOE. Contributed by Steve Loughran
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-WrappedIO methods raise UncheckedIOEs
-new class org.apache.hadoop.util.functional.FunctionalIO
with wrap/unwrap and the ability to generate a
java.util.function.Supplier around a CallableRaisingIOE.
-Tests
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?